<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,initial-scale=1.0,width=device-width" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>添加商品分类</title>
    <link rel="stylesheet" type="text/css" href="../../css/api.css" />
    <link rel="stylesheet" href="../../css/jqweui/lib/weui.min.css">
    <link rel="stylesheet" href="../../css/jqweui/css/jquery-weui.css">
    <link rel="stylesheet" href="../../css/jqweui/css/jqweui_extend.css">
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_539359_q9xrtmlc8gp.css">
    <script src="../../script/plugins/jquery.min.js"></script>
    <script type="text/javascript" src="../../script/plugins/in/in-min.js"></script>
    <script type="text/javascript" src="../../css/jqweui/js/in-config.js"></script>
    <script src="../../css/jqweui/js/jquery-weui.js"></script>
    <script src="../../css/jqweui/js/util.js"></script>
</head>
<body class="wrap">
<section class="mc-view-box">
    <div class="mc-header-box">
        <div class="mc-header bg-black">
            <a href="javascript:;" onclick="utils.back();" class="head-icon">
                <i class="iconfont icon-arrow-left"></i>
            </a>
            <div class="main-box head-title text-left">
                SKU属性
            </div>
            <a href="javascript:;" class="head-icon">
                保存
            </a>
        </div>
    </div>
    <div class="mc-scrollview">
        <div class="weui-cells weui-cells_form">
            <div class="weui-cell ">
                <div class="weui-cell__hd"><label class="weui-label">绑定分类</label></div>
                <div class="weui-cell__bd">
                    <input type="text" id='top-cat'/>
                </div>
            </div>
            <div class="weui-cell mc-cell">
                <div class="weui-cell__hd"><label class="weui-label">属性名称</label></div>
                <div class="weui-cell__bd">
                    <input class="weui-input" type="text" placeholder="请输入属性名称">
                </div>
            </div>
            <div class="weui-cells__title">属性值</div>
            <div class="weui-cells weui-cells_form">
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <textarea class="weui-textarea" placeholder="请输入属性值，一行一个" rows="10"></textarea>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<script type="text/javascript" src="../../css/jqweui/js/cat-picker.js" charset="utf-8"></script>
<script>
    $("#top-cat").select({
        title: "选择绑定的商品分类",
        items: [
            {
                title: "女装",
                value: "002",
            },
            {
                title: "&nbsp;&nbsp;连衣裙",
                value: "003",
            },
            {
                title: "&nbsp;&nbsp;毛衫/内搭",
                value: "004",
            }
        ]
    });
</script>
</body>
</html>